package cn.dragon.eatingfish;

import javax.swing.*;

public class NPC_7 extends SeaObject implements FishScore {


    public NPC_7() {
        super(300, 148, 1, 7, 2);
    }


    @Override
    public ImageIcon getImage() {
        if (getDirection() == M_LEFT) {
            return Images.fish_7_L;
        } else {
            return Images.fish_7_R;
        }
    }


    public void goDead() {
        this.setState(DEAD);
        this.setLife(this.getLife());
    }

    //重写接口返回分数方法
    @Override
    public int getScore() {
        return 70;
    }

}
